<extend name="Public:base" />

<block name="style">
	<style>
        .main{width:830px;height:100%;}
        .atten{width:790px;height:100%;margin-left:20px;}

		.price{ text-align: left;}
		.time{ text-align: left;}
		.hover{text-align: left;}
		.operate{ text-align: left;}
		.product-infor h3{line-height: 20px; margin-top:0; }
	</style>
</block>

<block name="main">
    <div class="main">
    	<div class="mainbg"></div>
        <div class="attention">

        	<div class="appraise-manage">
                <div class="photo-tab">
                    <span class="other-text">亲，要多多购买哦。</span>
                    <ul class="clearfix">
                        <li class="hover">我的收藏</li>
                    </ul>
                </div>
			</div>  
			
			<table class="attention-product-nav">
                <tbody>
					<tr>
						<td class="cell-1" style="width:303px;">商品信息</td>
						<td class="cell-2" style="width:124px;">价格（元）</td>
						<td class="cell-3" style="width:106px;">关注时间</td>
							<!-- <td class="cell-4">关注人气</td>-->
						<td class="cell-5" style="width:127px;">商品状态</td>
						<td class="cell-6" style="width:127px;">操作</td>
					</tr>
				</tbody>
			</table>

			<!-- 关注的商品内容 -->
            <div class="attention-box">
                <ul class="attention-list">
                    <li class="first">
						<foreach name='info' item='val'>
                        <if condition="$val.sg eq 1">
                        <p class="no-appraise">该筛选条件下没有任何收藏哦。</p>
                        <else />
                        <div class="attention-product clearfix">
                            <div class="product clearfix" style="width:284px;">
								<a href="" class="pic">
								<img alt="" src="__ROOT__/Uploads/{$val.picname}" height="60" width="80"></a>
                               <div class="product-infor">
                                    <h3><a href="{:U('Goods/detail?id='.$val['goodsid'])}" >{$val.goods}</a></h3>
                                   <p>总售出：<em>{$val.num}</em></p>
                                </div>
                            </div>
                            <div class="price" style="width:124px;text-align: left;">{$val.price}</div>
                            <div class="time" style="width:106px;text-align: left;">{$val.addtime}</div>
                            <div class="recommend" style="width:139px;"><span class="hover" fn="showLikenessByGoods" goodsid="26002280" firsttime="" style="margin-left:25px;">{$val.state}<i></i></span></div>
                            <div class="operate" style="width:108px;text-align: left;">
								<p style=" padding-left:12px;"><a href="{:U('del?id='.$val['id'])}">删除</a></p>
                            </div> 
                        </div>
                        </if>
                    	</foreach>

                        
                    </li>
                </ul>
            </div>
	             
	    </div>
    </div>
</block>
